"""Add evaluation column to trades table

Revision ID: c03e0a6b142b
Revises: 7b5c0116f621
Create Date: 2025-06-18 07:54:08.885947

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'c03e0a6b142b'
down_revision: Union[str, None] = '7b5c0116f621'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    """Upgrade schema."""
    # Add evaluation column to trades table
    op.add_column('trades', sa.Column('evaluation', sa.String(), nullable=True))


def downgrade() -> None:
    """Downgrade schema."""
    # Remove evaluation column from trades table
    op.drop_column('trades', 'evaluation')
